package ooday01;

public class CarTest {//test测试
    public static void main(String[] args) {
        Car car=new Car("宝马","黑色",99988);
        car.stop();
        car.run();
        car.start();
        Car car1=new Car("奥迪","白色",9998);
        car1.stop();
        car1.run();
        car1.start();
        Car car2=new Car("奔驰","红色",999);
        car2.stop();
        car2.run();
        car2.start();
        Car car3=new Car("特斯拉","黄色",99);
        car3.stop();
        car3.run();
        car3.start();
    }
}
